package com.wangce.service.impl;

import com.wangce.dao.UserDao;
import com.wangce.entity.User;
import com.wangce.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: UserServiceImpl
 * Description:
 * date: 2021/11/14 16:57
 *
 * @author 凡人
 * @since JDK 1.8
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public User login(User u) {
        return userDao.login(u);
    }
}
